package com.tao.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zzp
 * @since 2023-05-06
 */

@Getter
@Setter
@ApiModel(value = "Assist对象", description = "Assist对象")
public class Assist implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("求助id")
    private Long helpId;

    @ApiModelProperty("协助说明")
    private String assistInfo;

    @ApiModelProperty("审核说明")
    private String verifyInfo;

    @ApiModelProperty("协助订单的状态，0表示待完成，1表示待审核，2表示审核通过，3表示审核不通过")
    private String status;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建者（协助者）")
    private Long createBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty("更新者")
    private Long updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("删除标志，0未删除1删除")
    private Integer delFlag;

    @TableField(exist = false)
    private String title;
    @TableField(exist = false)
    private Integer reward;
    @TableField(exist = false)
    private String assistantName;
    @TableField(exist = false)
    private String publisherName;
    @TableField(exist = false)
    private String location;

}
